﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lephone.Data.Definition;

namespace SimlvClient.Model
{
    public class News : DbObjectModel<News>
    {
        public long? CateId { get; set; }
        [AllowNull]
        public string Title { get; set; }
        [AllowNull]
        public string NContent { get; set; }
        [AllowNull]
        public string ModifyTime { get; set; }
        [AllowNull]
        public string From { get; set; }
        
        public long? IsSimple { get; set; }
        [HasMany(OrderBy = "Id")]
        public IList<NewsImg> NewsImg { get; private set; }

    }
}
